FROM openjdk:8-jdk-alpine
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
VOLUME /tmp
ADD /target/eureka-server-0.0.1-SNAPSHOT /app.jar
ENTRYPOINT ["java","-jar","/app.jar"]